package com.ruoyi.exception;

public class InvoiceApiException extends RuntimeException {

    public InvoiceApiException(String message) {
        super(message);
    }

    public static void createAndThrowIt() {
        throw new InvoiceApiException("Invoice接口失败");
    }

    public static void createAndThrowIt(String message) {
        throw new InvoiceApiException(message);
    }
}
